BattOr: Plug-and-debug energy debugging for applications on smartphones and laptops Stanford CS Tech Report
نویسندگان
چکیده
As battery-operated devices like smartphones and laptops have become the norm for users, a critical feature of applications is to ensure low power consumption. Yet, surprisingly, energy bugs remain difficult to find and fix because developers lack the tools to allow them to quickly and authoritatively reason about how much power the various components of their applications consume. To address this need, we present BattOr, a power monitoring system consisting of (1) a hardware component that collects accurate measurements without requiring soldering (developers can plug-and-debug), and (2) a software component that precisely synchronizes these measurements with low-level system events already captured by OSes. A distinguishing feature of BattOr is that it is compatible with existing, continuous integration testing systems, and has been evaluated in production environments. We present case studies, including one in which BattOr was used to find and fix a long-lived energy bug that had resulted in a 38% increase in power consumption of Chrome on OS X as compared to Safari.
منابع مشابه
Women with hereditary breast cancer predispositions should avoid using their smartphones, tablets and laptops at night
Breast cancer is the most common malignancy among women, both in the developed and developing countries. Women with mutations in the BRCA1 and BRCA2 genes have an increased risk of breast and ovarian cancers. Recent studies show that short-wavelength visible light disturb the secretion of melatonin and causes circadian rhythm disruption. We have previously studied the health effects of exposure...
متن کاملRemote Debugging of Raspberry Pi with JTAG interface
This paper discusses the JTAG (Join Test Action Group) standard and its use to obtain debug information from circuits and chips. This standard describes a protocol that gives the access to a very low-level outputs from the chips where this technology is enabled. The main described scenario is using this protocol on a Raspberry Pi (RPi) board. In particular, it comes with an ARM (Acorn RISC Mach...
متن کاملDebugging Woven Code - Tech Report CUCS-035-06
The ability to debug woven programs is critical to the adoption of Aspect Oriented Programming (AOP). Nevertheless, many AOP systems lack adequate support for debugging, making it difficult to diagnose faults and understand the program’s structure and control flow. We discuss why debugging aspect behavior is hard and how harvesting results from related research on debugging optimized code can m...
متن کاملSecurity Enhancement of Android USB Debugging Mode
Till today, there are more than 1 billion smartphone users worldwide. With smartphones become more popular, more security instances have been reported. Therefore, it is important to study the security issues of smartphones and develop effective approaches to safeguard them. This research is focused on Android based systems, in particular, the security of Android Debug Bridge (ADB). As an import...
متن کاملUsing SPIN for automated debugging of infinite executions of Java programs
This paper presents an approach for the automated debugging of reactive and concurrent Java programs, combining model checking and runtime monitoring. Runtime monitoring is used to transform the Java execution traces into the input for the model checker, the purpose of which is twofold. First, it checks these execution traces against properties written in linear temporal logic (LTL), which repr...
متن کامل